package com.itheima.dao;

import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderDao {
    List<Order> getOrder(Order orderOld);

    void addOrder(Order order);

    Map findOrderById(@Param("id") Integer id);

    Integer getTodayOrderNumber(String today);

    Integer getTodayVisitsNumber(String today);

    Integer getOrderNumberAfterDate(String date);

    Integer getVisitsNumberAfterDate(String date);
}
